<template>
<!--顶部通栏-->
  <app-navbar/>
<!--  头部组件-->
  <app-header/>
  <app-header-sticky/>
<!--  内容容器-->
  <div class="main">
<!--    二级路由-->
    <router-view/>
  </div>
<!--  底部组件-->
  <app-footer/>
</template>

<script setup>

import AppNavbar from "@/components/app-navbar.vue";
import AppHeader from "@/components/app-header.vue";
import AppFooter from "@/components/app-footer.vue";
import {useCategoryStore} from '@/stores/category'
import AppHeaderSticky from "@/components/app-header-sticky.vue";
const categoryStore=useCategoryStore()
categoryStore.getCategoryList()
</script>

<style scoped>

</style>